package top.infopub.mgr.cap.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.dto.cap.FinReimSubDto;
import top.infopub.generic.GenericDao;
import top.infopub.model.cap.FinanceRepaySub;

import java.util.List;

/** 融资还款子表(CAP_FINANCE_REPAY_SUB) **/
@Repository
public interface FinanceRepaySubDao extends GenericDao<FinanceRepaySub, String> {
    /**
     * 根据融资付款主表ID查询子表列表
     * @param finRepayId
     * @return
     */
    List<FinanceRepaySub> queryListByFinRepayId(@Param("finRepayId") String finRepayId);

    List<FinReimSubDto> queryListByFinRepayIdDto(@Param("finRepayId") String finRepayId);
}